Edit Task: RecurringDiscreteWindows
Format
SCHED / EditTask '<TaskName>' RecurringDiscreteWindows <# Windows> <DisWindow1Start> <DisWindow1Stop> '<DisWindow1Comment>' ... <DisWindowNStart> <DisWindowNStop> '<DisWindowNComment>'
Description
The RecurringDiscreteWindows attribute under EditTask defines a number of recurring discrete windows for the task. This attribute may only be used if the RecurringType attribute is set to RecurringTime. Any previous discrete windows are deleted.
Parameters
Parameter | Description |
---|---|
# Windows | An integer value indicating the number of discrete window definitions that are contained within the command. |
Start/Stop | The format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff. |
Comment | A string of text in single quotes of the comment for that window. Empty string is allowed. |
Examples
Add 2 discrete recurring windows to a task.
SCHED / EditTask 'TaskA' RecurringDiscreteWindows 2 2015/01/01_00:00:00 2015/01/01_00:02:00 '' 2015/01/01_00:03:00 2015/01/01_00:05:00 ''